package avriServer.util;

import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;

public class Input {
	public static String DECODE (String _s) {
		try {
			return URLDecoder.decode(_s, "UTF8");
		} catch (UnsupportedEncodingException e) {
			return "" ;
		}
	}
	public static String SECURE (String _s) {
		try {
			return HTMLEntities.htmlentities(URLDecoder.decode(_s, "UTF8"));
		} catch (UnsupportedEncodingException e) {
			return "" ;
		}
	}

}
